package com.lc.demo.service;


import com.lc.demo.bean.Leavetable;
import com.lc.demo.bean.Signin;
import com.lc.demo.bean.Student;
import com.lc.demo.result.ResponseMessage;

import java.util.List;

/**
 * @ClassName StudentService
 * @Deacription TODO
 * @Author jinshuhan
 * @Version 1.0
 **/
public interface StudentService {
    Student login(String username,String password);



    Student selectByUsername(String username);

    void addStudent(Student student);

    void delStudentByUsername(String username);

    List<Student> getStudentList();

    void updateStudent(Student student);

    List<Signin> findSignList(Student student);


    void leave(Leavetable leavetable);

    ResponseMessage signin(Signin signin);
}
